package com.potato.timetable.db.common;

import androidx.room.Database;
import androidx.room.RoomDatabase;

import com.potato.timetable.bean.Time;
import com.potato.timetable.db.dao.ClassDAO;
import com.potato.timetable.db.dao.TimeDAO;
import com.potato.timetable.db.obj.ClassDO;
import com.potato.timetable.db.obj.TimeDO;

@Database(entities = {ClassDO.class, TimeDO.class}, version = 2, exportSchema = true)
public abstract class AppDatabase extends RoomDatabase {

    public abstract ClassDAO classDAO();

    public abstract TimeDAO timeDAO();


}
